package com.ys.entity.bi;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].BI_ClassifyModule", catalog="Id")
public class BiClassifyModule extends BaseEntity<BiClassifyModule> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ManageTransactBid", nameJava="manageTransactBid", typeDataBase="varchar")
	private String manageTransactBid;
	@YsField(nameDataBase="StatDate", nameJava="statDate", typeDataBase="varchar")
	private String statDate;
	@YsField(nameDataBase="StatDateType", nameJava="statDateType", typeDataBase="tinyint")
	private Integer statDateType;
	@YsField(nameDataBase="IncomeAmount", nameJava="incomeAmount", typeDataBase="decimal")
	private BigDecimal incomeAmount;
	@YsField(nameDataBase="OutcomeAmount", nameJava="outcomeAmount", typeDataBase="decimal")
	private BigDecimal outcomeAmount;
	@YsField(nameDataBase="ProfitAmount", nameJava="profitAmount", typeDataBase="decimal")
	private BigDecimal profitAmount;
	@YsField(nameDataBase="ClassifyType", nameJava="classifyType", typeDataBase="tinyint")
	private Integer classifyType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public BiClassifyModule setId(Long id) {
		this.id = id;
		return this;
	}
	public String getManageTransactBid() {
		return manageTransactBid;
	}
	public BiClassifyModule setManageTransactBid(String manageTransactBid) {
		this.manageTransactBid = manageTransactBid;
		return this;
	}
	public String getStatDate() {
		return statDate;
	}
	public BiClassifyModule setStatDate(String statDate) {
		this.statDate = statDate;
		return this;
	}
	public Integer getStatDateType() {
		return statDateType;
	}
	public BiClassifyModule setStatDateType(Integer statDateType) {
		this.statDateType = statDateType;
		return this;
	}
	public BigDecimal getIncomeAmount() {
		return incomeAmount;
	}
	public BiClassifyModule setIncomeAmount(BigDecimal incomeAmount) {
		this.incomeAmount = incomeAmount;
		return this;
	}
	public BigDecimal getOutcomeAmount() {
		return outcomeAmount;
	}
	public BiClassifyModule setOutcomeAmount(BigDecimal outcomeAmount) {
		this.outcomeAmount = outcomeAmount;
		return this;
	}
	public BigDecimal getProfitAmount() {
		return profitAmount;
	}
	public BiClassifyModule setProfitAmount(BigDecimal profitAmount) {
		this.profitAmount = profitAmount;
		return this;
	}
	public Integer getClassifyType() {
		return classifyType;
	}
	public BiClassifyModule setClassifyType(Integer classifyType) {
		this.classifyType = classifyType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public BiClassifyModule setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public BiClassifyModule setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public BiClassifyModule setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static BiClassifyModule biClassifyModule(
		String manageTransactBid,
		String statDate,
		Integer statDateType,
		BigDecimal incomeAmount,
		BigDecimal outcomeAmount,
		BigDecimal profitAmount,
		Integer classifyType,
		Integer status
			) {
		BiClassifyModule entity = new BiClassifyModule();
		entity.setManageTransactBid(manageTransactBid);
		entity.setStatDate(statDate);
		entity.setStatDateType(statDateType);
		entity.setIncomeAmount(incomeAmount);
		entity.setOutcomeAmount(outcomeAmount);
		entity.setProfitAmount(profitAmount);
		entity.setClassifyType(classifyType);
		entity.setStatus(status);
		return entity;
	}
}